package com.guigu.www.service.Impl;

import com.guigu.www.dao.LxMapper;
import com.guigu.www.pojo.Lx;
import com.guigu.www.service.LxServce;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LxServceImpl implements LxServce {
    @Autowired
    private LxMapper lxMapper;
    @Override
    public Lx queryAll() {
        return lxMapper.queryAll();
    }

    @Override
    public int xg(Lx lx) {
        return lxMapper.updateByPrimaryKey(lx);
    }
}
